package com.shop2cn.iapi.agentproducts.parameter;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 规格数据
 * Created by zhujinfeng on 2017/8/9.
 */
public class CatalogPo {

    public CatalogPo() {
        propertyList = new ArrayList<>();
        agentPriceList = new ArrayList<>();
    }

    /**
     * 商品编号
     */
    private String productId;

    /**
     * 规格编号
     */
    private String catalogId;

    /**
     * 买手编号
     */
    private int sellerId;

    /**
     * 规格价
     */
    private double price;


    /**
     * 规格库存
     */
    private int stockNum;

    /**
     * 虚拟库存
     */
    private int virtualStockNum;

    /**
     * sku 编号
     */
    private String sku;

    /**
     * 添加时间
     */
    private Date addTime;


    /**
     * 状态（0-有效，-1删除，-2 未启用）
     */
    private int action;

    /**
     * 规格图片
     */
    private String pic;

    /**
     * 规格属性
     */
    private List<CatalogPropertyPo> propertyList;

    private List<AgentPricePo> agentPriceList;

    private String attributeHash;

    private String parentCatalogId;

    private String rootCatalogId;

    private int operateType;

    private double weight;

    private int limitNum;

    private double marketPrice;

    private double marketAmount;
    /**
     * 库存调整值，用于生成出入库单
     * 正数为增加，负数为减少
     **/
    private int adjustRealStock;
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getCatalogId() {
		return catalogId;
	}
	public void setCatalogId(String catalogId) {
		this.catalogId = catalogId;
	}
	public int getSellerId() {
		return sellerId;
	}
	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getStockNum() {
		return stockNum;
	}
	public void setStockNum(int stockNum) {
		this.stockNum = stockNum;
	}
	public int getVirtualStockNum() {
		return virtualStockNum;
	}
	public void setVirtualStockNum(int virtualStockNum) {
		this.virtualStockNum = virtualStockNum;
	}
	public String getSku() {
		return sku;
	}
	public void setSku(String sku) {
		this.sku = sku;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public int getAction() {
		return action;
	}
	public void setAction(int action) {
		this.action = action;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public List<CatalogPropertyPo> getPropertyList() {
		return propertyList;
	}
	public void setPropertyList(List<CatalogPropertyPo> propertyList) {
		this.propertyList = propertyList;
	}
	public List<AgentPricePo> getAgentPriceList() {
		return agentPriceList;
	}
	public void setAgentPriceList(List<AgentPricePo> agentPriceList) {
		this.agentPriceList = agentPriceList;
	}
	public String getAttributeHash() {
		return attributeHash;
	}
	public void setAttributeHash(String attributeHash) {
		this.attributeHash = attributeHash;
	}
	public String getParentCatalogId() {
		return parentCatalogId;
	}
	public void setParentCatalogId(String parentCatalogId) {
		this.parentCatalogId = parentCatalogId;
	}
	public String getRootCatalogId() {
		return rootCatalogId;
	}
	public void setRootCatalogId(String rootCatalogId) {
		this.rootCatalogId = rootCatalogId;
	}
	public int getOperateType() {
		return operateType;
	}
	public void setOperateType(int operateType) {
		this.operateType = operateType;
	}
	public double getWeight() {
		return weight;
	}
	public void setWeight(double weight) {
		this.weight = weight;
	}
	public int getLimitNum() {
		return limitNum;
	}
	public void setLimitNum(int limitNum) {
		this.limitNum = limitNum;
	}
	public double getMarketPrice() {
		return marketPrice;
	}
	public void setMarketPrice(double marketPrice) {
		this.marketPrice = marketPrice;
	}
	public double getMarketAmount() {
		return marketAmount;
	}
	public void setMarketAmount(double marketAmount) {
		this.marketAmount = marketAmount;
	}
	public int getAdjustRealStock() {
		return adjustRealStock;
	}
	public void setAdjustRealStock(int adjustRealStock) {
		this.adjustRealStock = adjustRealStock;
	}
    
}
